package com.westa.smallshop.util;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;

/**
 * Created by Dune on 16/9/7.
 */
public class SmsUtil {


    public static void sendSmsSystem(Activity activity, String phone, String content) {

        Uri smsToUri = Uri.parse("smsto:" + phone);
        Intent mIntent = new Intent(Intent.ACTION_SENDTO, smsToUri);
        mIntent.putExtra("sms_body", content);
        activity.startActivity(mIntent);
    }
}
